package com.atguigu.mediator.smarthouse;

public class Client {
	public static void main(String[] args) {
		Mediator mediator = new ConcreteMediator();
		Colleague alarm = new Alarm(mediator, "Alarm");
		alarm.sendMessage(0);
	}
}
